package com.hhkj.admin.student.model.dopo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hhkj.admin.student.domain.Student;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * StudentPo
 *
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class StudentPo extends Student {

    /**
     * 学员缴费单价
     */
    @TableField(exist = false)
    private BigDecimal unitPayPrice;

    /**
     * 学员账号期限开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField(exist = false)
    private Date startDate;

    /**
     * openId
     */
    @TableField(exist = false)
    private String openId;
}
